{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}{{ title }} {{ doc.name }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        {{ title }}
        <br>
        <small class="text-body-secondary">{{ doc.name }}</small>
    </h1>
    <p class="alert alert-info my-3">
        {{ info|safe }}
    </p>
    <form enctype="multipart/form-data" method="post">
        {% csrf_token %}
        {% bootstrap_form form %}
        <button type="submit" class="btn btn-primary" name="submit" value="Save">Submit</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">
            Back
        </a>
    </form>
{% endblock %}